package com.authine.cloudpivot.web.api.vo;

/**
 * ClassName: ResultCode <br/>
 * Description: 记录各种异常信息的code值<br/>
 * date: 2020/8/26 16:32<br/>
 * @author fj<br />
 * @since JDK 1.8
 */
public class ResultCode {
    // 正常返回
    public static final int ok = 0;
    // 正常返回无数据
    public static final int ok_NotData = 0;
    // 插入数据失败
    public static final int insert_error = -1;
    // 更新数据失败
    public static final int update_error = -2;
    // 网络异常
    public static final int network_error = -3;
    // 初始化异常
    public static final int init_error = -4;
}
